package com.neusoft.feign;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import com.neusoft.po.CommonResult;

@FeignClient(name="authentication-server",fallback=AuthFeignClientCallBack.class,configuration=FeignConfig.class)
public interface AuthFeignClient {
	
	@GetMapping("/AuthController/authentication/{token}")
    public CommonResult checkToken(@PathVariable("token") String token);
}
